/**
 * Created by liwd on 2016-08-04.
 * agcfs RequireJS 公共配置模块
 */
require.config({
    baseUrl: '/agcfs/src/main/webapp',
    paths: {
        /*App路径*/
        app: 'pages/agcfs',

        /*基本*/
        'jquery': 'trd/jquery/jquery.min',
        'domReady': 'trd/requirejs/domReady',
        'css': 'trd/requirejs/css',
        'bootstrap': 'trd/bootstrap/js/bootstrap.min',

        /*Select下拉列表框*/
        'select': 'trd/bootstrap-select/js/bootstrap-select',
        'selecti18n': 'trd/bootstrap-select/js/i18n/defaults-zh_CN',

        /*DataTables数据表格*/
        'datatables.net': 'trd/DataTables/DataTables-1.10.12/js/jquery.dataTables.min',
        'datatables.net-bs': 'trd/DataTables/DataTables-1.10.12/js/dataTables.bootstrap.min',

        /*DataTables扩展和插件: 填充*/
        'datatables.net-autofill': 'trd/DataTables/AutoFill-2.1.2/js/dataTables.autoFill.min',
        'datatables.net-autofill-bs': 'trd/DataTables/AutoFill-2.1.2/js/autoFill.bootstrap.min',

        /*DataTables扩展和插件: 按钮*/
        'datatables.net-buttons': 'trd/DataTables/Buttons-1.2.1/js/dataTables.buttons.min',
        'datatables.net-buttons-bs': 'trd/DataTables/Buttons-1.2.1/js/buttons.bootstrap.min',
        'datatables.net-buttons-colVis': 'trd/DataTables/Buttons-1.2.1/js/buttons.colVis.min',
        'datatables.net-buttons-flash': 'trd/DataTables/Buttons-1.2.1/js/buttons.flash.min',
        'datatables.net-buttons-html5': 'trd/DataTables/Buttons-1.2.1/js/buttons.html5.min',
        'datatables.net-buttons-print': 'trd/DataTables/Buttons-1.2.1/js/buttons.print.min',

        /*DataTables扩展和插件: 行列拖动*/
        'datatables.net-colreorder': 'trd/DataTables/ColReorder-1.3.2/js/dataTables.colReorder.min',
        'datatables.net-rowreorder': 'trd/DataTables/RowReorder-1.1.2/js/dataTables.rowReorder.min',

        /*DataTables扩展和插件: 表内编辑*/
        'datatables.net-editor': 'trd/DataTables/Editor-1.5.6/js/dataTables.editor.min',
        'datatables.net-editor-bs': 'trd/DataTables/Editor-1.5.6/js/editor.bootstrap.min',

        /*DataTables扩展和插件: 固定行列*/
        'datatables.net-fixedColumns': 'trd/DataTables/FixedColumns-3.2.2/js/dataTables.fixedColumns.min',
        'datatables.net-fixedHeader': 'trd/DataTables/FixedHeader-3.1.2/js/dataTables.fixedHeader.min',

        /*DataTables扩展和插件: 热键*/
        'datatables.net-keyTable': 'trd/DataTables/KeyTable-2.1.2/js/dataTables.keyTable.min',

        /*DataTables扩展和插件: 响应式*/
        'datatables.net-responsive': 'trd/DataTables/Responsive-2.1.0/js/dataTables.responsive.min',

        /*DataTables扩展和插件: 滚动*/
        'datatables.net-scroller': 'trd/DataTables/Scroller-1.4.2/js/dataTables.scroller.min',

        /*DataTables扩展和插件: 选择器*/
        'datatables.net-select': 'trd/DataTables/Select-1.2.0/js/dataTables.select.min',

        /*DataTables扩展和插件: Excel和pdf支持库*/
        'net-jszip': 'trd/DataTables/JSZip-2.5.0/jszip',
        'net-pdfmake': 'trd/DataTables/pdfmake-0.1.18/build/pdfmake.min',
        'net-pdfmake-fonts': 'trd/DataTables/pdfmake-0.1.18/build/vfs_fonts',

        /*jsTree*/
        'jstree': 'trd/jstree/jstree.min',
    },

    shim: {
        /*基本*/
        'bootstrap': {
            deps: ['jquery', 'css!trd/bootstrap/css/bootstrap.min'],
        },

        /*Select下拉列表框*/
        'select': {
            deps: ['jquery', 'bootstrap', 'css!trd/bootstrap-select/css/bootstrap-select'],
        },
        'selecti18n': {
            deps: ['select'],
        },

        /*DataTables数据表格*/
        'datatables.net-bs': {
            deps: ['css!trd/DataTables/DataTables-1.10.12/css/dataTables.bootstrap.min'],
        },

        /*DataTables扩展和插件: 填充*/
        'datatables.net-autofill-bs': {
            deps: ['css!trd/DataTables/AutoFill-2.1.2/css/autoFill.bootstrap.min'],
        },

        /*DataTables扩展和插件: 按钮*/
        'datatables.net-buttons-bs': {
            deps: ['datatables.net-buttons-colVis', 'datatables.net-buttons-flash', 'datatables.net-buttons-html5', 'datatables.net-buttons-print', 'css!trd/DataTables/Buttons-1.2.1/css/buttons.bootstrap.min'],
        },

        /*DataTables扩展和插件: 行列拖动*/
        'datatables.net-colreorder': {
            deps: ['css!trd/DataTables/ColReorder-1.3.2/css/colReorder.bootstrap.min'],
        },
        'datatables.net-rowreorder': {
            deps: ['css!trd/DataTables/RowReorder-1.1.2/css/rowReorder.bootstrap.min'],
        },

        /*DataTables扩展和插件: 表内编辑*/
        'datatables.net-editor-bs': {
            deps: ['css!trd/DataTables/Editor-1.5.6/css/editor.bootstrap.min'],
        },

        /*DataTables扩展和插件: 固定行列*/
        'datatables.net-fixedColumns': {
            deps: ['css!trd/DataTables/FixedColumns-3.2.2/css/fixedColumns.bootstrap.min'],
        },
        'datatables.net-fixedHeader': {
            deps: ['css!trd/DataTables/FixedHeader-3.1.2/css/fixedHeader.bootstrap.min'],
        },

        /*DataTables扩展和插件: 热键*/
        'datatables.net-keyTable': {
            deps: ['css!trd/DataTables/KeyTable-2.1.2/css/keyTable.bootstrap.min'],
        },

        /*DataTables扩展和插件: 响应式*/
        'datatables.net-responsive': {
            deps: ['css!trd/DataTables/Responsive-2.1.0/css/responsive.bootstrap.min'],
        },

        /*DataTables扩展和插件: 滚动*/
        'datatables.net-scroller': {
            deps: ['css!trd/DataTables/Scroller-1.4.2/css/scroller.bootstrap.min'],
        },

        /*DataTables扩展和插件: 选择器*/
        'datatables.net-select': {
            deps: ['css!trd/DataTables/Select-1.2.0/css/select.bootstrap.min'],
        },

        /*DataTables扩展和插件: Excel和pdf支持库*/
        'net-pdfmake': {
            deps: ['net-pdfmake-fonts'],
        },

        /*jsTree*/
        'jstree': {
            deps: ['jquery', 'css!trd/jstree/themes/default/style.min'],
        },
    },
    //waitSeconds: 15
});
// define( ['jquery', 'datatables.net'], function ( $ ) {}